package com.ruoyi.storage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加工详情对象 processing_detail
 * 
 * @author 庞一恺
 * @date 2025-01-11
 */
public class ProcessingDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产物明细id */
    private String processingDetailId;

    /** 加工单id */
    @Excel(name = "加工单id")
    private Long processId;

    /** 批次id */
    @Excel(name = "批次id")
    private String processedProductId;

    /** 包装方式 */
    @Excel(name = "包装方式")
    private String packingType;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String productState;

    /** 加工说明 */
    @Excel(name = "加工说明")
    private String processDescription;

    /** 库存批次名称*/
    private String inventoryName;

    /** 物品规格*/
    private String goodSpecification;

    /** 货源地*/
    private String origin;

    /** 批次数量*/
    private String inventoryNum;

    /** 种类id*/
    private String rawProductId;

    public void setProcessingDetailId(String processingDetailId)
    {
        this.processingDetailId = processingDetailId;
    }

    public String getProcessingDetailId()
    {
        return processingDetailId;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }
    public void setProcessedProductId(String processedProductId) 
    {
        this.processedProductId = processedProductId;
    }

    public String getProcessedProductId() 
    {
        return processedProductId;
    }
    public void setPackingType(String packingType) 
    {
        this.packingType = packingType;
    }

    public String getPackingType() 
    {
        return packingType;
    }
    public void setProductState(String productState) 
    {
        this.productState = productState;
    }

    public String getProductState() 
    {
        return productState;
    }
    public void setProcessDescription(String processDescription) 
    {
        this.processDescription = processDescription;
    }

    public String getProcessDescription() 
    {
        return processDescription;
    }

    public String getInventoryName() {
        return inventoryName;
    }

    public void setInventoryName(String inventoryName) {
        this.inventoryName = inventoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("processingDetailId", getProcessingDetailId())
            .append("processId", getProcessId())
            .append("processedProductId", getProcessedProductId())
            .append("packingType", getPackingType())
            .append("productState", getProductState())
            .append("processDescription", getProcessDescription())
                .append("inventoryName", getInventoryName())
                .append("goodSpecification", getGoodSpecification())
                .append("origin", getOrigin())
                .append("inventoryNum", getInventoryNum())
                .append("rawProductId", getRawProductId())
            .toString();
    }

    public String getGoodSpecification() {
        return goodSpecification;
    }

    public void setGoodSpecification(String goodSpecification) {
        this.goodSpecification = goodSpecification;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getInventoryNum() {
        return inventoryNum;
    }

    public void setInventoryNum(String inventoryNum) {
        this.inventoryNum = inventoryNum;
    }

    public String getRawProductId() {
        return rawProductId;
    }

    public void setRawProductId(String rawProductId) {
        this.rawProductId = rawProductId;
    }
}
